#!/usr/bin/env python
# Copyright 2014-2015 RethinkDB, all rights reserved.

import squash_base

class SquashTrueMultiEmpty(squash_base.SquashBase):
    field = "multi"
    generator = squash_base.MultiGenerator()
    records = 0
    limit = 10
    multi = True

class SquashTrueMultiHalfFull(squash_base.SquashBase):
    field = "multi"
    generator = squash_base.MultiGenerator()
    records = 5
    limit = 10
    multi = True

class SquashTrueMultiSingleHashShard(squash_base.SquashBase):
    field = "multi"
    generator = squash_base.MultiGenerator()
    records = 10
    limit = 2
    multi = True

class SquashTrueMultiMultipleHashShards(squash_base.SquashBase):
    field = "multi"
    generator = squash_base.MultiGenerator()
    records = 20
    limit = 2
    multi = True

# ===== main

if __name__ == '__main__':
    import unittest
    unittest.main()
